const code = {
    code1:`
    <mo-switch v-model="flag" name="0"></mo-switch>
    `,
    code2:`
    <mo-switch v-model="flag" name="1" disabled></mo-switch>
    <mo-switch v-model="flag1" name="2" disabled style="margin-left:10px"></mo-switch>`,
    code3:` 
    <mo-switch 
        v-model="flag"
        active-color="#e34d59"
        inactive-color="#ed7b2f"
        name="3">
    </mo-switch>`,
    code4:`
    <mo-switch v-model="flag" name="4" size="small"></mo-switch>
    <mo-switch style="margin-left:10px" v-model="flag" name="5" size="medium"></mo-switch>
    <mo-switch style="margin-left:10px" v-model="flag" name="6" size="large"></mo-switch>`,
    code5:`
    <mo-switch 
        v-model="flag"
        active-text="打开的值"
        inactive-text="关闭的值"
        name="7">
    </mo-switch>

    <mo-switch 
        style="margin-left:10px"
        v-model="flag"
        active-text="打开的值"
        inactive-text="关闭的值"
        active-color="#e34d59"
        inactive-color="#ed7b2f"
        name="8">
    </mo-switch>
    `,
    code6:`
    <mo-switch 
        v-model="flag3"
        :active-value="1"
        :inactive-value="0"
        name="9">
    </mo-switch>

    <mo-switch 
        style="margin-left:10px"
        v-model="flag4"
        active-value="1"
        inactive-value="0"
        name="10">
    </mo-switch>
    `
};

export default code;